<style type="text/css">
	.st1 tbody  tr td{padding:3px 3px;};
</style>
<input type="hidden" name="dataid" value="{{$dataid}}" />
<table cellpadding="0" cellspacing="0" border="1" class="stdtable st1">
 <thead>
  <tr class="child_subject tit">
    <th class="head1">NO.</th>
    <th class="head1">商品编号</th>
    <th class="head1">商品名称</th>
    <th class="head1">调拔数量</th>
    <th class="head1"><strong>真实调拨数量</strong></th></td>
  </tr>
 </thead>
  {{foreach from=$needstore item=li key=key}}
  <tr>
    <td>{{$key+1}}</td>
    <td><a href="/product/productlist?other={{$li.sku}}&filtertype=skuc" target="_blank" style="text-decoration:none;color:black;">{{$li.sku}}</a></td>
    <td>{{$li.goods_name}}</td>
    <td>{{$li.need_store}}</td>
    <td>{{if $is_finish==0}}
    <input name="one_storeid_{{$li.storeid}}" type="text" style="width:30px;padding:4px 4px;" value="{{$li.need_store}}" />
    {{else}}
    	{{$li.confirm_need}}
    {{/if}}</td>
  </tr>
  {{/foreach}}
  <tr class="child_subject">
    <td colspan="5" valign="middle" align="center" bgcolor="#FFFFFF" style="position:relative;line-height:28px">
     {{if $is_finish==0}}<button id="btn" type="submit" class="submit radius2" onclick="return confirm('此操作会将列表中2号仓的库存数量减去真实调拔数量后更新到1号仓，确定吗？')">更新库存并标志完成</button>{{/if}}
    </td>
  </tr>
</table>
